<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/1
  Time: 11:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>表单数据提交多选项</title>
</head>
<body>
<form action="/action7">
    <p>
        <label >爱好</label>
        <input type="checkbox" value="10" name="id">阅读
        <input type="checkbox" value="11" name="id">编程
        <input type="checkbox" value="12" name="id">健身
    </p>
    姓名:<input type="text" name="name">
    <button>提交</button>
</form>

</body>
</html>
